FROM java:8
EXPOSE 8802
EXPOSE 8000

MAINTAINER white <litmiss@gmail.com>

VOLUME /tmp
ADD target/zhibo-api.jar /app.jar
RUN bash -c 'touch /app.jar'
#ENTRYPOINT ["java","-jar","/app.jar"]

ENTRYPOINT ["java","-Xdebug","-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000","-jar","/app.jar","--spring.profiles.active=dev"]

